package models

import "gorm.io/gorm"

type Attach struct {
	gorm.Model
	Title        string `gorm:"type:varchar(30);not null;comment:景点标题"`
	Context      string `gorm:"type:varchar(300);not null;comment:景点描述"`
	LikeCount    int    `gorm:"type:int;default:0;comment:点赞数"`
	CommentCount int    `gorm:"type:int;default:0;comment:评论数"`
}
